#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from inary.actionsapi import inarytools
from inary.actionsapi import autotools as tools
from inary.actionsapi import shelltools
from inary.actionsapi import get

def build():
    tools.make("genfstab arch-chroot")

def install():
    shelltools.system("install -dm755 {}/usr/bin".format(get.installDIR()))
    shelltools.system("install -m755 genfstab {}/usr/bin/".format(get.installDIR()))
    shelltools.system("install -m755 arch-chroot {}/usr/bin/".format(get.installDIR()))
